import request from '@/request/request.js'

// 获取首页园区节庆横幅列表
export const homeBanner = (params) => {
	return request({
		url: "/api/qsy/index/bannerList",
		method: "post",
		data: params,
	}, false)
}

// 获取园区节庆详情
export const homeBannerDetail = (params) => {
	return request({
		url: "/api/qsy/index/bannerDetails",
		method: "post",
		data: params,
	})
}

// 获取活动类型（娱乐、主题）
export const homeActivityType = (params) => {
	return request({
		url: "/api/qsy/activity/typeList",
		method: "post",
		data: params,
	})
}

// 获取活动列表（娱乐、主题）
export const homeActivityList = (params) => {
	return request({
		url: "/api/qsy/activity/list",
		method: "post",
		data: params,
	})
}

// 获取活娱乐动详情
export const homeProjectInfo = (params) => {
	return request({
		url: "/api/qsy/activity/projectDetails",
		method: "post",
		data: params,
	})
}

// 获取主题活动详情
export const homeThemeInfo = (params) => {
	return request({
		url: "/api/qsy/activity/subjectDetails",
		method: "post",
		data: params,
	})
}

// 获取动态列表
export const homeTrendList = (params) => {
	return request({
		url: "/api/qsy/activity/informationList",
		method: "post",
		data: params,
	})
}

// 获取动态详情
export const homeTrendDetail = (params) => {
	return request({
		url: "/api/qsy/activity/informationDetails",
		method: "post",
		data: params,
	})
}

// 获取吃喝玩乐轮播图
export const homePartyBanner = (params) => {
	return request({
		url: "/api/qsy/party/bannerList",
		method: "post",
		data: params,
	})
}

// 获取吃喝玩乐类型
export const homePartyType = (params) => {
	return request({
		url: "/api/qsy/party/TypeList",
		method: "post",
		data: params,
	})
}

// 获取吃喝玩乐列表
export const homePartyList = (params) => {
	return request({
		url: "/api/qsy/party/list",
		method: "post",
		data: params,
	})
}

// 获取吃喝玩乐详情
export const homePartyDetail = (params) => {
	return request({
		url: "/api/qsy/party/partyDetails",
		method: "post",
		data: params,
	})
}

// 获取活动场次信息
export const homeOrderTicket = (params) => {
	return request({
		url: "/api/qsy/order/ticketList",
		method: "post",
		data: params,
	})
}

// 活动创建订单
export const homeAddOrder = (params) => {
	return request({
		url: "/api/qsy/order/addOrder",
		method: "post",
		data: params,
	})
}